package com.mpyy.dao.purchase;

import com.mpyy.pojo.InventoryChange;
import com.mpyy.pojo.InventoryDesc;
import com.mpyy.pojo.PurchaseStock;
import com.mpyy.pojo.PurchaseStockDesc;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @version 1.0
 * @Descoription UpdatePurchaseDaoInter
 * @Author CG
 * @date 2022-03-22
 */
@Repository(value = "updatePurchaseDaoInter")
public interface UpdatePurchaseDaoInter {
    /**新增采购信息
     *
     * @param purchaseStock
     * @return
     */
    int updatePurchaseStock(PurchaseStock purchaseStock);

    /**新增采购详情信息
     *
     * @param purchaseStockDescList
     * @return
     */
    int updatePurStockDesc(List<PurchaseStockDesc> purchaseStockDescList);

    /**仓库详情信息
     *
     * @param inventoryDescList
     * @return
     */
    int updateInventoryDesc(List<InventoryDesc> inventoryDescList);

    /**仓存变动
     *
     * @param changeList
     * @return
     */
    int updateInventoryChange(List<InventoryChange> changeList);
}
